runtime.semaRoot.nwait (field)
6 uses
runtime (current package)
sema.go#L43: nwait atomic.Uint32 // Number of waiters. Read w/o the lock.
sema.go#L168: root.nwait.Add(1)
sema.go#L171: root.nwait.Add(-1)
sema.go#L200: if root.nwait.Load() == 0 {
sema.go#L206: if root.nwait.Load() == 0 {
sema.go#L214: root.nwait.Add(-1)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |